package com.arpa.oms.domain.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.arpa.wms.domain.entity.BasicEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 默认发货仓库
 * </p>
 *
 * @author wangdong
 * @since 2021-07-27
 */
@Data
@ApiModel(value="OmsDefaultWarehouse对象", description="默认发货仓库")
public class OmsDefaultWarehouseDTO extends BasicEntity {

    public static final String PROVINCE_CODE_KEY = "provinceCode";

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "仓库标识")
    private String warehouseCode;

    @ApiModelProperty(value = "仓库标识集合")
    private List<String> warehouseCodes;

    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;

    @ApiModelProperty(value = "货主标识")
    private String shipmentCode;

    @ApiModelProperty(value = "登录仓库授权该账号的货主集合")
    private List<String> shipmentCodes;

    @ApiModelProperty(value = "货主名称")
    private String shipmentName;

    @ApiModelProperty(value = "店铺标识")
    private String shopCode;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "所属组织")
    private String groupCode;

    @ApiModelProperty(value = "省标识")
    private String provinceCode;

    @ApiModelProperty(value = "'省标识'")
    private List<String> provinceCodes;

    @ApiModelProperty(value = "省名称")
    private String provinceName;

    @ApiModelProperty(value = "'省标识'")
    private List<String> provinceNames;

    @ApiModelProperty(value = "重量小")
    private BigDecimal weightMin;

    @ApiModelProperty(value = "重量小下限")
    private BigDecimal weightMinStart;

    @ApiModelProperty(value = "重量小上限")
    private BigDecimal weightMinEnd;

    @ApiModelProperty(value = "重量大")
    private BigDecimal weightMax;

    @ApiModelProperty(value = "重量大下限")
    private BigDecimal weightMaxStart;

    @ApiModelProperty(value = "重量大上限")
    private BigDecimal weightMaxEnd;

    @ApiModelProperty(value = "物流公司编码")
    private String logisticsCode;

    @ApiModelProperty(value = "物流公司名称")
    private String logisticsName;

    @ApiModelProperty(value = "状态：0启用，1停用")
    private Integer status;

    @ApiModelProperty(value = "启用库位管理:0不启用，1启用")
    private Integer locationManagement;

    @ApiModelProperty(value = "erp customerid")
    private String customerid;

    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

    @ApiModelProperty(value = "总数")
    private Long total;

}
